package com.work.washer.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName use_record
 */
@TableName(value ="use_record")
@Data
public class UseRecord implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Date createTime;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 设备ID
     */
    private Integer machineId;

    /**
     * 
     */
    private Date startTime;

    /**
     * 
     */
    private Date endTime;

    /**
     *
     */
    @Schema(title = "状态：1预约中，2使用中，3已使用,4投诉退费")
    private Integer status;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 门店
     */
    @Schema(title = "门店")
    private String store;

    /**
     * 衣服类型
     */
    @Schema(title = "衣服类型")
    private String clothesType;

    /**
     * 洗涤模式
     */
    @Schema(title = "洗涤模式")
    private String washType;


    @TableField(exist = false)
    private Machine machine;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}